AIOSEO\Plugin\Common\Models\Post D

Total Complexity 140
Dependencies 0
Dependents 24
Total lines 817
Lines of code 443
Logical lines of code 233
Comment lines 249
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
sanitizeAndSetDefaults()
D
32 50 61
sanitizeKeyphrases()
A
52 10 28
runDynamicSchemaMigration()
A
50 10 27
setDynamicDefaults()
A
54 8 21
setOgTwitterImageData()
S
49 6 34
sanitizePageAnalysis()
S
56 7 18
migrateImageTypes()
S
57 7 16
getDefaultSchemaOptions()
S
46 5 41
migrateKoreaCountryCodeSchemas()
S
56 6 18
checkForDefaultFormat()
S
59 5 14
getKeyphrasesDefaults()
S
53 4 26
migrateRemovedQaSchema()
S
60 4 13
getPost()
S
56 3 18
savePost()
S
57 3 17
getPageAnalysisDefaults()
S
51 2 31
updatePostMeta()
S
59 3 13
setOptionsDefaults()
S
56 2 19
getDefaultOpenAiOptions()
S
57 2 18
invertKoreaCode()
S
79 2 3
runDynamicMigrations()
S
69 1 7